<?php

session_start();
if($_GET['met'] == "del"){
    $id = $_GET['id'];
    $chave = array_search($id, $_SESSION['cesta']);
    unset($_SESSION['cesta'][$chave]);    
    header("Location: ../View/Negocio/cesta.php");
}
?>
